package com.tocean.demo.entity.Attr;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel("统一返回对象")
@Slf4j
@Data
@Accessors(chain = true)
public class MyQuestion implements Serializable {

    private String tid =""; // 试卷id
    private String id=""; // 题目id
    private String indexs="";
    private String content="";
    private List<String> answer;//本题所有选项内容
    private String tag_Name="";
    private String choice="";//用户选择的选项内容
    private String rAnswer="";//正确答案内容
    private Boolean isCorrect = false;
    private String score="";

    public MyQuestion(String tid, String id, String index, String content, List<String> answer, String tag_name){
        this.tid=tid;
        this.id =id;
        this.indexs=index;
        this.content=content;
        this.answer=answer;
        this.tag_Name=tag_name;
    }

    public MyQuestion(){}

}
